<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Slider_Banner</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .slider {
            position: relative;
            width: 590px;
            height: 470px;
            margin: 0 auto;
        }

        .banner {
            position: relative;
            width: 590px;
            height: 470px;
        }

        .banner ul {
            list-style: none;
        }

        .banner ul li {
            float: left;
            position: absolute;
        }

        .banner ul li a {
            display: block;
            width: 590px;
            height: 470px;
        }

        .banner ul li:nth-child(1) {
            z-index: 9;
        }

        .banner ul li:nth-child(2) {
            z-index: 8;
        }

        .indicator{
            position: absolute;
            height: 20px;
            left:20px;
            bottom:0;
            line-height: 20px;
            z-index: 999;
        }

        .indicator ul {
            list-style: none;
        }

        .indicator ul li {
            float: left;
            margin-left: 6px;
            width: 9px;
            height: 9px;
            background-color: white;
            border-radius: 9px 9px 9px 9px;

        }

        .indicator ul li a {
            display: block;
            width: 9px;
            height: 9px;
        }
    </style>
</head>
<body>
<div class="slider">
    <div class="prefix"></div>
    <div class="banner">
        <ul>
            <li><a href="#"><img src="images/slider_banner1.jpg" width="590" height="470px" alt="" srcset=""></a></li>
            <li><a href="#"><img src="images/slider_banner2.jpg" width="590" height="470px" alt="" srcset=""></a></li>
        </ul>
    </div>
    <div class="next"></div>
    <div class="indicator">
        <ul>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
        </ul>
    </div>
</div>
<script >
    let images=[
        "images/slider_banner1.jpg",
        "images/slider_banner2.jpg"
    ];
    let image_index=0;

    window.setInterval(()=>{

    },1500)

</script>
</body>
</html>